package net.sf.ivyide;

import java.util.regex.Pattern;

public class ContentRootTemplate implements Cloneable {

    private String m_rootDirTemplate;
    private String m_mainJavaDirTemplate;
    private String m_testJavaDirTemplate;
    private String m_mainResourceDirTemplate;
    private String m_testResourceDirTemplate;
    private Pattern m_includedSubdirsPattern = null;

    public ContentRootTemplate(String rootDirTemplate) {
        m_rootDirTemplate = rootDirTemplate;
    }

    public String getRootDirTemplate() {
        return m_rootDirTemplate;
    }

    public void setRootDirTemplate(String rootDirTemplate) {
        m_rootDirTemplate = rootDirTemplate;
    }

    public String getMainJavaDirTemplate() {
        return m_mainJavaDirTemplate;
    }

    public void setMainJavaDirTemplate(String mainJavaDirTemplate) {
        m_mainJavaDirTemplate = mainJavaDirTemplate;
    }

    public String getTestJavaDirTemplate() {
        return m_testJavaDirTemplate;
    }

    public void setTestJavaDirTemplate(String testJavaDirTemplate) {
        m_testJavaDirTemplate = testJavaDirTemplate;
    }

    public String getMainResourceDirTemplate() {
        return m_mainResourceDirTemplate;
    }

    public void setMainResourceDirTemplate(String mainResourceDirTemplate) {
        m_mainResourceDirTemplate = mainResourceDirTemplate;
    }

    public String getTestResourceDirTemplate() {
        return m_testResourceDirTemplate;
    }

    public void setTestResourceDirTemplate(String testResourceDirTemplate) {
        m_testResourceDirTemplate = testResourceDirTemplate;
    }

    public Pattern getIncludedSubdirsPattern() {
        return m_includedSubdirsPattern;
    }

    public void setIncludedSubdirsPattern(Pattern includedSubdirsPattern) {
        m_includedSubdirsPattern = includedSubdirsPattern;
    }

    public ContentRootTemplate clone() throws CloneNotSupportedException {
        return (ContentRootTemplate) super.clone();
    }

}
